<div class="main_menu">
  <% if current_user %>
    <div class="login">
      <p class="txt"><%= t(:menu_logged_in_as)%> <%= current_user.login %></p>
    </div>
  <% end %>
  <div class="menu_items">
    <ul>
      <li><%=t :menu_about %></li>
      <li><%=t :menu_help %></li>
      <% if current_user %>
        <li><%= link_to t(:my_account), account_path  %> </li>
        <li><%= link_to t(:menu_logout), user_session_path, :method => :delete %></li>
      <% end %>
    </ul>
  </div>
</div>